//
//  Exception.h
//  Solver
//
//  Created by Nicolas Winkler on 16.07.13.
//  Copyright (c) 2013 Nicolas Winkler. All rights reserved.
//

#ifndef _SOLVER_EXCEPTION_H
#define _SOLVER_EXCEPTION_H

#include <exception>
#include <string>

namespace solver
{
    class Exception;
}


class solver::Exception :
public std::exception
{
private:
    std::string errMessage;
public:
    Exception(const std::string&);
    virtual ~Exception(void) throw();
    
    virtual const char* what(void);
    virtual const std::string& getErrMessage(void) const;
};

#endif // _SOLVER_EXCEPTION_H
